{% extends 'insight/layout.html' %}
{% block title %}换电站类型列表{% endblock %}
{% block content %}
<div class="container">
    <div class="row">
        <div class="col" align="center">
            <h2>换电站类型</h2>
            <div align="right"><a role="button" class="btn btn-info" href="/station_type_create/">新增</a></div>
            <table class="table table-striped">
                <thead>
                        <tr>
                            <th>换电站厂商</th>
                            <th>换电站型号</th>
                        </tr>
                    </thead>
                    <tbody>
                    {% for station_type in station_types %}
                        <tr>
                            <td>{{ station_type.swap_maker }}</td>
                            <td>{{ station_type.station_model }}</td>
                        </tr>
                    {% endfor %}
                    </tbody>
            </table>
        </div>
    </div>
</div>
{% endblock %}